package com.sea.demo.shiro.mapper;

import com.sea.demo.shiro.domain.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: 快乐在角落里
 * @Create: 2020/11/7 23:40
 */
@Repository
public interface RoleMapper {
    int insert(Role role);

    int delete(Integer id);

    int update(Role role);

    List<Role> select(Role role);

    Role selectOne(Integer id);

    List<String> selectPermissionCode(Integer roleId);
}
